added passportJS authentication