created user and appointment models