assign the current logged in user's id to message's user_id attribute