public function authorizedForAdmin(UserService $user) { try { $email = $user->getUserByToken()['email']; if ($email == '*****@*****.**' || $email == '*****@*****.**' || $email == '*****@*****.**' || $email == '*****@*****.**') { return $this->json_response->success([]); } return $this->json_response->error([]); } catch (Exception $e) { return $this->json_response->error(['error' => $e->getMessage()]); } }