Fixed bug when viewing user profile while not signed in