fixing user logout (username!=userid error)
fixing gamestatemessage (username!=userid error)