A cleaner way to handle group/contact/user on InvitationsController