Started building login thread