Added add appointment functionality