added docs for creating resources
tests for cookie params