User authentication. Part 1