Added refresh param to redirect