added username to posts. figured out I needed to give if statement if Nil for user.