Added redirect endpoint for testing