remove the user api as unneeded and some fixes