Controller tied in to HTML