Updated the web application to support the compact url changes made in the database.