Added finely grained security for backend services.
first commit of socket io awesomeness.