The user who has not yet purchased any item should get the discount and if the user visits for the second time then the discount should not be given.