fix user api and create user partial; fixes #1