adding database and some constants for preparing the privacy settings