Fixed error trying to access upload property on PouchOauthXHR
Setup appointment calendar for appointments
Trying to make sure endDate >= startDate