adding user avatars to the profiles, so now appears everywhere a user does. other minor ui tweaks to user profile and tiny refactoring for tests