Added Ajax functionality.

1. Added common ajax functionality.
2. Implemented ajax in user list.