adding user counter on server side