get content from database