Automatically logins user in once they register