added exception when trying to login without username changed back button to exit when u are not logged in