simplify user tree controller action and template

Arranging the users in a tree structure (using Hash objects) makes the template much more readable.