use curr user id in js