add permalink model
add permalinks creation api