Rearrange buttons on login and register pages.