Added signout functionality and for users to view their profile