output errors while authorization