contact us, register, home page

added client side validations
fixed sending out emails