[Cassie] - adding validation to error callback from login