Finished with validation. Registering users work. Move the js validation into own file.