Add callback for login error