rework passport js from mongodb to bookshelfjs and postgres