js login fixed