fixed logout problem and message sending problem