fixed force close when user is logged out