Added authorization to posts