Data cube generation page: connects to database & retrieves form input