Authentication overhaul. Removed Passport dependency