added a bunch of checks for validation on emails and password