added posts and validation