added addUser method and test