Associated users with posts and set default scope for posts