added code to implemnt read and delete a record in DB.