added export command
fixed db and improved admin dsplay