create Invite class and InviteDao
implement the beta invitation feature