Deletes register controller and change route names