add js module for get current user