The access checks when calling different routes could be condensed and extracted into methods, e.g. `checkAdminAccess()`