use restclient for signup