correct the activty bar for login and register pages.