Add categories for posts

why pass this through as an instance variable? `current_user` is available in the view