fix login model, psave, and start to tie node id to routing