fix session creation and add security to server logs
merge views