Added authorization to control panel