Mix database access, and removed server url