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: 
Make sure your bean has

1. The annotation `@ManagedBean` (make sure to use `import javax.faces.bean.ManagedBean;`)!
2. A public no-arg constructor
3. Getters and setters for `username` and `password`
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`