Still working on login and logout functionality