Modified to setup admin