Deletion and Editing of your own comment and Added restriction for Home ...

...page
yes that ok.. but please extract the $user_id first as a standard :bow:  something like this..
```php
$user_id = MySession::get("user_id");
if (!$user_id) {
    header("location: /main/login");
}
```

then you can just remove line 92.
```php
$user_id = MySession::get("user_id");
```