#72 added authorization for pages