Add motion-layout and get authenticity token