add actions and routes for them