added init posts and figured out permalinks