added authorization controller to gopher lib