Adds a list which shows a list of users

distinct() isn't supported by sqlite. Hence the funny code.

PR feedback