login in the user, whose name is grabbed from username textfield
added logout button to settings
implemented logout