Add overloaded constructor to allow for the error response to not be overrideen
Add custom error listener for the login request