added user login via JSON