Redirect to the chart url after logging in