fixes in offer rest, user rest rewrited to REAL promises