modified user-login-process