fix mock api for users