working implementation of users module