Refactor AdminsController and LeaveNotifer