Changed path to authorize