Validator Logic is implemented for Login Controller.