refactored action calls and rendering to extension methods