Validation on register user page
Removed unnecessary classes