Update user registration with validation and added tests for first name, last name, and profile name correctness