Adding pre to controllers