fixed login engine, now it shows alerts every time smthing goes wrong, still got there a bug, if i login with wrong password etc second time - error message is null, can't get it why