Incorporated client side validation for signup and login form