testing for user registration