[task] added UserValidation unit test and changed package structure