added appointment model and pages