update frontend code: show realname in page