message logging in textmessages controller