added redirect after client request