logout is function. got rid of logout button in myprofile