fixed bugs with the DB, also added teh basic GetURLs pages