add js validation to sign in