Adds login functionality
Log out functionality