Made api build aginst new backend
Fixed existing bug