Layout and default target url after login is updated.