adding badges to message page