modified user model to have invites and added route and db code for inviting