changed get user method