added admin_controller for privilege control
worked on admin controller and dashboard view