+ Adding allowed_perm_invite, a helper function pulling permissions form the database to check if the user can make invites