Almost finished work with registration form validation.