not sure why the findOne method does not work