Add validation logic to SingInForm