cleaned up posts model and notifications model