added routing function for text submission
views are nearly working, need a 'submission' from html