Added comments and corrected some errors in admins_controller.