Fixing display error for separate 'log-in/sign-up'