fixing the kinks with the validations, now have client-side working, adding a bit of logic for the login