changes to allow for login and logout functionality