update for new user.projects schema
fix typo
port registerWithInvite to new user.projects schema