setting up local db model
minor fix
fix interface
hide buttons and remove error div
add error div to footer