Add changes for login error