added id to message model