added /login endpoint, fixed async parallel, added transform reduce phase