Implemented validator validation for user registration