extract voteable to module, and generate gem.
source: https://github.com/ArthurPai/voteable_arthur
extract slug generate to module
add role to user, and only admin can add category
validation category case
only creater of post or admin can edit this post
when not right to add category then back to the prev page