add register user section and function checkUnicUser