cleaned up webapplication