Updated cookie posting and removed unused files