Adds Edit and delete function to medications