modify user api to seller and buyer