reformat loging form