moved getusermessages method to message service