Added auto username logging