added basic validation system for email & password with js