almost finished with multiple users functionality