Fixing profile page while logged out