Removed redundant code from post_controller and added global variables for #of receivers at create and upvote of a post