working on app create and destroy