added logging registration authorization