The redirection to the dashboard is triggered only if /admin is passed