adds cache option to resource GET and POST
adds auth support