Bean configuration of News and User