Fix layout for login page and pdf report