prepares for angular, adds page and book#add_to_user action