bug fixes UserAPI
bug fixes UserAPI