activity link to db