anti spam registration

to prevent spam: if the user does not have an invite code thank them and
send them to the login page