Set Privileges V1.0.0/1853

wrong aproach, you should check the user_type session at the top your addBook/manage action inside the controller. e.g.
if(!MySession::get("user_type")){
    //redirects to home page if not enough privilege
    header("location: /main/home");
}