Changed getUser return list type. Added sysouts in case of empty list