making the login a register layout invsible while is centered.