<?php
 public function route() {
        if (empty($_COOKIE['user_id'])) {
            $this->actionRegister();
        } else {
            $this->action();
        }
    }