Added life cycle methods along with log messages