Added Login to spark