added html5 auto validation to registartion form