User assignment in main page

- added Chosen plugin
- added some utility functions for AJAX operations