implemented login via ng-view, made webSocket controller work