Upload photos using mongodb with mongoose