Fixing problem when user is not logged and don't have :user_details