added code to check for existing item on mobile app.