added editlisting() and deletelisting() below addlisting func