Fixed login issue, integrated new labels api