Add missing login part.