fix errors in message controller, prevent user from seeing themselves