auth routs working but database/promise issues