Done. Wrote a new function is_moderator to check if the user is moderator.