Login/Registration update

Fail logic update.