added the login/logout feature to functions
modified styles