Finished login.php and register.php