prepare user registration