added admin application logic