signup and login page logic