Handling login errors, add-on