added validation to check for uniquness of an item in a session