render different view based on param id