replacing links in dash and survey templates with content. also updating default.rb to properly check for default db and user