Updated models to store user ID of each post correctly