fixed errors in user api interface
api.error fixed
imports fixed
removed unused imports
bump