Avatar added to user, functional tests updated