add tests to validates pressence of email and password