implements invitation controller actions - https://github.com/mitchell852/logh-api/issues/5