Added path to obtain user id from auth session