add redirect after some actions