adding functionality for multiple users