routes and views setup for flipbks