fix new Post no ID error
basic authorization