added invites model, table, and controller