Fixed building login issue