Data cube generation page: connects to database