Major: Check user by login and password.
Major: User registration by name and password.