minor changes to user api

minor changes to user api