working registration and 'editUser' module