call to service to get the initial todos and then dispatch once promise resolved
added todo service which will return a promise for loadTodos and resolve it once it gets data via websocket
moved out websocket logic to keep the loadTodos function simple and plain