semi working version of sliding login-v2