reformat login page