when creating a session, make sure that user is found
when creating a session, make sure that user is found

closes #1082

transitland/transitland-datastore,transitland/transitland-datastore,transitland/transitland-datastore