allows for multiple users, added tests