Base for registr
Correct login errors