log user and format