added dashboard and database setup