removing unneeded attribute post_id from Post.java
removing user_id from Post, since it is not available.
switching from xml-based config to spring java config