Pass varibles to controllers