DRY'd things up a bit in the router,  stopped enter key from submitting search as a form