login page: updated validation rules for email and password