changed the file formatting and changed signin.php to be more dynamic