added addUser functionality to UserManager