Forgot to remove a bit of debugging.
Not every event is a message event.
Added some more debugging
Let's remember to unauthenticate the user when they logout.
Let's get the first item in the array and not the second.