goes back to main screen when log outbutton is pressed