Fixes Login Validation errors