replaced application.url.app with application.server.url