tidy up todo route and use only one mongoose require