Created add and view pages