Project PR

Suggestion po, used switch statement to decide where redirect the user po :bow:

```php
if (is_logged('logged_in')) {
    $type = get_session('logged_in','type');
    switch ($type) {
        case x:
            break;
    }
}
```