Added personalized logger.
Database mapping corrected.