Converted the edit and create pages into one. Combined the update and store post actions to minimize code