cleans up the code a bit. moved things into partials. makes the clear button on user index page work.
Merge branch 'master' of https://github.com/milanij/writerShareApp
Merge pull request #19 from milanij/versions_new

Versions new