enabled getUser call to fetch multiple users
make demos more readable by moving unimportant code to helper