made management safe when current_user is nil