Dashboard fetches from database

also fixed handful of broken links