getapps() and deleteapp()