patched user login