fixes some links, migrated to postgres, worked on admin