Add pre-login class on login screen