added tests for user methods, added listUsers

listUsers method lists all users in the users.json database