triying to make accountlogin plugin full flexible