Role router
Deciding where this user belongs.
Root route logic is simple: no session goes to /login, admin goes to /admin, teacher goes to /teacher, and parent goes to /parent/feed.
Role router
Root route logic is simple: no session goes to /login, admin goes to /admin, teacher goes to /teacher, and parent goes to /parent/feed.