set up relation between posts and users, display author on posts