ENH:move login page to root directory
BUG:fix a bug of sendmessage