added user email, password, validation and tests for it