code cleanup & remove passport-local