Redirect to index when switching profiles