Added a controller, updated pages with input and made GET POST handlers