updated for login, pass, register page