socket sending data back and forth. io was not passed as dependency fro controller. oops