Fixed logic for task 1

Taken unique users into account