Added docblocks to the methods in InvitationController.