changed resources to create routes