working persistant sessions and passport controler