signin.php:
In place of
Sign in
you need
Sign out Sign in
You have massive security issues there. You're storing passwords in plain text in your database, by the looks of it. You need to fix this. Now.