basic log in and sign up and log out functionality working