add userId to messages route