implement getUser