added resource and post
added resource and post 2