Laid out skeleton for other admin functions and corrected onsite js controller