made mongoose schema and added express routes