give access to post variables in layout