Added code to get display data using userId getting from session.