makes admin controller and dashboard view