Alert when there mistake "admin" and rest api bug

Pull request referente a los issues #1 y #2