You can use page redirection… You can use page redirection like: return new \Symfony\Component\HttpFoundation\RedirectResponse(\Drupal::url('user.page')); Page Redirection on Drupal 8 Reply