revised sin controller and forms for the sin views