changed 2nd logout to edit profile