refactoring: change signature of appendFriendDom() to take only one argument: friend obj
enable sendMessage by default (on first load), and move search text box above friends