added validation to the login page && to the solver text box