Add home dir attribute to Messenger

Make it can be running on a linux server