backend for deleting records
small UI improvements