makes controller methods virtual