corrected redirect on devise sign in for invitation acceptance, added form validation when inviting users