new api calls for getting and registering users