Changed back to fetch site url info from db