Create securityUtil.js

in charge of login/logout/reg