added user count method
refactored go js
minor changes