added show and edit templates for page
Can make correct json requests