new js
more fixes for not logged