Map is working with pins as well as saving to the database