added findOne for db service