Added page alert boxes. Added endpoint error responses.