Createapp method on resource