refactor authorIsCurrentUser to user model as isAuthorOf

Dried up authorIsCurrentUser in views.js

removed authorIsCurrentUser, now called from views.js

remove authorIsCurrentUser from views.js