added getuser rest call