Invites and Login Logic fully working