made edit to fix service types and added routes for sessions