added admin feature for new database