load the preview in logged in mode

Unless otherwise specified, all code here is licensed GPLv2