add database settings and add admin