use client's welcome and error events to handle setup
move route and logger to utils