updated some of the user api