Using the api to save and view timers, hooking up the socket.io connection