Thanks Jay for your suggestions. I was able to solve the above discussed problem.
However I had to move on from p2 theme and I used the buddypress plugin which fulfilled all mine requirements.
This link provides all the details about the solution. http://stackoverflow.com/questions/10105915/display-status-only-to-group-members-in-p2-theme-in-wordpress