fix some bugs and implement showing username in postbook