edited input elements to have name value, which are needed to get data through controllers.py