add js validation for sign up/in