Created a hero registration function for node server
add properties for registration form
Add registration form and functionalities.