login and reg validation complete