updated login.php so it's more uniform with register