Predefine login layout and register layout