Changed titles and added validation for registration page