register functionality in front-end is implemented. Register form now works with front end validation