added routes for item and added save and get logic