began database work && integrated with ajaxy