add redirect after post requests