Making window.currentUser.id a string so it will work with mongo IDs also