Added database logic for contactus