add POST functioning