refactored stringy methods in view.py

reduced complexity and added thanks.html template to return to user
after submission