handles multiple users more cleanly