layout controller authentication