Improved the capabilitiies logic. Made messages link forward to message page