optimized routes and message view