added some actions to redditpost controller