fixes and passport auth