database connection

read from database (will be edit later for filters )