added lifecycle logs to logincontroller