Question: Please help me out.I am battling since three days.

How to fetch value of a custom field to display it in post content area?

Answer: 
Don´t use Managedbean anymore. 

Switch to CDI instead 

Add this on top of your class 
@RequestScoped ( from javax.enterprise.context.RequestScoped )
@Named("LoginBean")

see <http://docs.oracle.com/javaee/6/tutorial/doc/gjbnr.html> for further informations
Make sure your loginBean is annotated with `@ManagedBean`. If your class name is `LoginBean` then identifier in `EL` becomes `loginBean`as per java conventions and not `LoginBean`