adjust loginlayout