Separate static header from dynamic post data
Fix cookie domain issue. Add post release option
export functions in header