Complete implementation of client get user details with test that works