Functioning App with DB before UI-rebuilding