[refactor] connect db at app startup, close at app termination
add label to register view