added message counter to navbar