Ensure user in not logged when registering