headers and data modified & post routes added