renaming logout method
showing profile page