adding controller action and sidebar