making AppName propegate better, adding forms and csrf stuff