Improoved the login and logout
Deleted unecessary files