add loginOut delete useless js