adding before_actions for votes and comments

:+1: