Remove post routes, add hidden fields to send data and refactor cookies