added url helper
added voting for posts and comments