fix nil when accessing rails admin and not logged in