added globalpost subclass, create post function now works