Sync frmework

Signed-off-by: Arief M Utama <arief.utama@gmail.com>
Fix db and ap-user

Signed-off-by: Arief M Utama <arief.utama@gmail.com>