Added logs to app delegate to track app lifecycle