load and authorize resource