adding logout and edit profile