fix tests and make them actually run on maven build
* refactor user checks
* move file repo away from /tmp
fix display of user avatars in the list