fixed some bug issues on chat and added some style in the header